PHY SET RIGID BODY MASS OFFSET LOCAL

Set the local centre of mass for the specified rigid body.

  Syntax
PHY SET RIGID BODY MASS OFFSET LOCAL ID, x#, y#, z#
  Parameters
ID
Integer
ID number of the rigid body
x#
Float
offset in local space on X axis
y#
Float
offset in local space on Y axis
z#
Float
offset in local space on Z axis

  Returns

  Description

Setting an unrealistic center of mass which is a long way from the body can make it difficult for Dark Physics to solve constraints. Perhaps leading to instability and jittering bodies. However, using this command is useful for situations where the mass of an object is not necessarily in the center of an object. The paramers are the mass frame offset relative to the objects position.

  Example Code
No example code is provided for this command